//
//  GuideSearchView.h
//  ZhiHuiLiJiang
//
//  Created by work on 2018/11/15.
//  Copyright © 2018年 王雅鹏. All rights reserved.
//搜索框View

#import <UIKit/UIKit.h>

@protocol GuideSearchViewDelegate <NSObject>
//点击了搜索
-(void)screachClick;
@optional;
//点击了身份的切换
-(void)typeClick;

@end
@interface GuideSearchView : UIView
@property(nonatomic,weak)UIButton *scanBtn;
/**搜索的背景*/
@property(nonatomic,weak)UIView *searchBgView;
/**城市名*/
/**分割线*/
@property(nonatomic,weak)UIView *lineView;
/**搜索按钮*/
@property(nonatomic,weak)UIButton *searchBtn;

@property (nonatomic , assign) id<GuideSearchViewDelegate> delegate;

@property(nonatomic,weak)UILabel *cityLab;
-(instancetype)initWithFrame:(CGRect)frame with:(NSString *)str;


@end
